package com.qijian.maindata.domain.vo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.qijian.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class PointOrderExcel {

    @Excel(name = "工单编码")
    private String workCode;

    @Excel(name = "申请人")
    @ApiModelProperty(value = "申请人名")
    private String applyName;

    @Excel(name = "部门")
    @ApiModelProperty(value = "申请人部门名")
    private String applyDeptName;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "申请日期")
    private Date applyDate;

    @Excel(name = "申请编号")
    @ApiModelProperty(value = "申请编号")
    private String number;

    @Excel(name = "派工属性")
    @ApiModelProperty(value = "派工属性")
    private String dispatchAttr;

    @Excel(name = "事项说明")
    @ApiModelProperty(value = "属性说明")
    private String remark;


    @Excel(name = "开工令")
    private String projectMachineNo;

    @Excel(name = "项目经理")
    @ApiModelProperty(value = "开工令项目经理名")
    @TableField(exist = false)
    private String nickName;

    @Excel(name = "产品名称")
    @ApiModelProperty(value = "产品名称")
    private String itemName;

    @Excel(name = "工序类型")
    @ApiModelProperty(value = "工序类型")
    private String processTypeName;

    @Excel(name = "工序")
    @ApiModelProperty(value = "工序")
    private String processName;

    @Excel(name = "数量")
    @ApiModelProperty(value = "数量")
    private BigDecimal qty;

    @Excel(name = "加工定额(元)")
    @ApiModelProperty(value = "加工定额(元)")
    private BigDecimal quota;

    @Excel(name = "加工小时")
    @ApiModelProperty(value = "加工小时")
    private BigDecimal hours;

    @Excel(name = "时薪")
    @ApiModelProperty(value = "时薪")
    private BigDecimal wage;

    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String itemRemark;

    @Excel(name = "开始时间",dateFormat = "yyyy-MM-dd HH:mm:ss" )
    @ApiModelProperty("工单开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date workStartTime;

    @Excel(name = "结束时间",dateFormat = "yyyy-MM-dd HH:mm:ss" )
    @ApiModelProperty("工单结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date workEndTime;

    @Excel(name = "生产人员")
    @ApiModelProperty(value = "生产人员")
    private String scNickName;

    @Excel(name = "派工金额")
    @ApiModelProperty(value = "派工金额")
    private BigDecimal amount;

    @Excel(name = "实时工时")
    @ApiModelProperty(value = "实时工时")
    private BigDecimal workTime;


}
